package org.example.crm.api;

import org.example.crm.clue.Result;
import org.example.crm.clue.entity.Clue;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(name = "clue-service",path = "/clue",fallback = ClueServiceApiFallback.class)
public interface ClueServiceApi {
    @GetMapping("/{id}")
    public Result<Clue> get(@PathVariable("id") Long id);
}
